/**
 * Created by JetBrains PhpStorm.
 * User: hellreuter
 * Date: 3/20/12
 * Time: 1:22 AM
 * To change this template use File | Settings | File Templates.
 */
Ext.define('CT.view.secretario.Window',{
    extend: 'Ctc.view.Window',
    alias: 'widget.winsecretarios',
    title: 'Administrar Secretarios',
    buildItems: function(){
        return [
            {
                xtype: 'gridsecretario',
                region: 'center',
                flex: 3
            },{
                xtype: 'formsecretario',
                flex: 1,
                region: 'east',
                collapsible: true,
                collapseDirection: 'left',
                title: 'Agregar',
                iconCls: 'add'
            }
        ];
    },
    renderTo: 'containerprincipal'
});
